<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://www.rapid-framework.org.cn/rapid" prefix="tmpl"%>
<!DOCTYPE HTML>
<html>
<head>
<title><tmpl:block name="title">无标题</tmpl:block></title>
<%-- 全局引入的css文件 --%>
<link rel="stylesheet" type='text/css' href="/HTOA/css/ht/global.css" />
<link type="text/css" rel="stylesheet" href="/HTOA/css/ht/cssBtnDojo.css" />
<%-- 页面引入的css文件 --%>
<tmpl:block name="page_css"></tmpl:block>
<%-- 全局引入的js文件 --%>
<script type='text/javascript'>
	var miniParseOnLoad = true;
</script>
<script src="/HTOA/js/miniui/scripts/boot.js" type="text/javascript"></script>
<script src="/HTOA/js/ht/pgOrgSelect.js" type='text/javascript'></script>
<script src="/HTOA/js/ht/pgToolsBtnDojo.js" type='text/javascript'></script>
<style media="print">
.Noprint {
	display: none;
}
</style>
<script language="JavaScript" type="text/javascript">
<!--
	function forbidBackSpace(e) {
		var ev = e || window.event; //获取event对象
		var obj = ev.target || ev.srcElement; //获取事件源
		var t = obj.type || obj.getAttribute('type'); //获取事件源类型
		//获取作为判断条件的事件类型
		var vReadOnly = obj.readOnly;
		var vDisabled = obj.disabled;
		//处理undefined值情况
		vReadOnly = (vReadOnly == undefined) ? false : vReadOnly;
		vDisabled = (vDisabled == undefined) ? true : vDisabled;
		//当敲Backspace键时，事件源类型为密码或单行、多行文本的，
		//并且readOnly属性为true或disabled属性为true的，则退格键失效
		var flag1 = ev.keyCode == 8
				&& (t == "password" || t == "text" || t == "textarea")
				&& (vReadOnly == true || vDisabled == true);
		//当敲Backspace键时，事件源类型非密码或单行、多行文本的，则退格键失效
		var flag2 = ev.keyCode == 8 && t != "password" && t != "text"
				&& t != "textarea";
		//判断
		if (flag2 || flag1)
			return false;
	}
	document.onkeypress = forbidBackSpace;
	document.onkeydown = forbidBackSpace;

	function save() {
		document.forms[0].submit();
	}

	function wnClose() {
		var _SelfClose = null;
		if (window != top) {
			window.parent.window.mini.get('winObj').hide();
		} else {
			try {
				_SelfClose = function() {
					self.close();
				};
				if (window.opener) {
					window.opener.location.reload();
				}
			} catch (e) {
			}
			;
		}
		if (_SelfClose) {
			setTimeout(_SelfClose, 1000);
		}
	}
	<tmpl:block name="script"></tmpl:block>
// -->
</script>
<%--页面引入的js文件 --%>
<tmpl:block name="page_script"></tmpl:block>

</head>
<body text="#000000" bgcolor="#FFFFFF" style='background-color:#F8F8F8'>

	<form method="post" action="<tmpl:block name="submit_action"></tmpl:block>">
		<div style="display:none">
			<input name = "menuId" value="${param.menuId }"/>
		</div>
		<table style="width:1000px;margin:20px auto 0 auto;background-color:white;border:0;border-collapse:collapse;" cellpadding="0" cellspacing="0">
			<tr>
				<td style="width:40px" class="yinyingctl">&nbsp;</td>
				<td style="width:20px" class="yinyingt">&nbsp;</td>
				<td class="yinyingt">
					<div class="yinyingt" style="width:100%;height:60px;float:left"></div>
				</td>
				<td style="width:20px;" class="yinyingt">&nbsp;</td>
				<td style="width:40px" class="yinyingctr">&nbsp;</td>
			</tr>
			<tr class="Noprint">
				<td style="width:40px" class='yinyingl'>&nbsp;</td>
				<td style="width:20px"><span style="width:20px;height:20px;border-right:1px solid #cecece;border-bottom:1px solid #cecece;float:left;"></span></td>
				<td>&nbsp;</td>
				<td style="width:20px;"><span style="width:20px;height:20px;border-left:1px solid #cecece;border-bottom:1px solid #cecece;float:right;"></span></td>
				<td style="width:40px" class='yinyingr'>&nbsp;</td>
			</tr>
			<tr>
				<td style="width:40px" class='yinyingl'>&nbsp;</td>
				<td style="width:20px">&nbsp;</td>
				<td valign="top">
					<div style="width:100%;padding:10px;">
					<%--此处放表单的主体部分--%>
					<tmpl:block name="content">页面无内容。</tmpl:block>
					</div>
				</td>
				<td style="width:20px;">&nbsp;</td>
				<td style="width:40px" class='yinyingr'>&nbsp;</td>
			</tr>
			<tr class="Noprint">
				<td style="width:40px" class='yinyingl'>&nbsp;</td>
				<td style="width:20px"><span style="width:20px;height:20px;border-right:1px solid #cecece;border-top:1px solid #cecece;float:left;"></span></td>
				<td>&nbsp;</td>
				<td style="width:20px;"><span style="width:20px;height:20px;border-left:1px solid #cecece;border-top:1px solid #cecece;float:right;"></span></td>
				<td style="width:40px" class='yinyingr'>&nbsp;</td>
			</tr>
			<tr>
				<td style="width:40px" class="yinyingcl">&nbsp;</td>
				<td style="width:20px" class="yinyingb">&nbsp;</td>
				<td class="yinyingb">
					<div class="yinyingb" style="width:100%;height:60px;float:left"></div>
				</td>
				<td style="width:20px;" class="yinyingb">&nbsp;</td>
				<td style="width:40px" class="yinyingcr">&nbsp;</td>
			</tr>
		</table>
		<div class="Noprint mini-toolbar"
			style="left:0;width:100%;top:0;<!--左侧top:0为按钮条的位置固定在页面最上，修改成bottom:0可将按钮条放在页面最下-->height:35px;color:#fff;border-top-color:#ebeff6;background-color:rgba(255,255,255)!important;border-top-width:1px;border-top-style:solid;position:fixed;text-align:center">
			<table style="width:1000px;margin:auto;height:35px;">
				<tr>
					<!--此处放表单的操作按钮-->
					<td style="text-align:left" id="btnContL">
						<a class="mini-button" plain="true" iconCls="icon-save" onclick="save ()" id="save">保存</a> 
						<a class="mini-button" plain="true" iconCls="icon-close" onclick="wnClose()">关闭</a></td>
					<td style="text-align:right;padding-right:20px" id="btnContR"></td>
				</tr>
			</table>
		</div>

	</form>
</body>
</html>
